package com.xbongbong.pro.formdata.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author shen.yang
 * @version v1.0
 * @Description
 * @date 2022/6/6 10:59
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class InheritRuleDTO extends BaseDTO {

    private static final long serialVersionUID = 5964357944449791411L;

    /**
     * 上游业务类型
     */
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    @NotNull
    private Integer saasMark;

    /**
     * 上游表单ID
     */
    private Long formId;

    @NotNull
    private Integer distributorMark;

    /**
     * 上游业务id
     */
    private Long dataId;
}
